﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DOJ.LEISP.LEXS.Common.Utilities
{
    /// <summary>
    /// Message Sequence number generator assists in generating message sequence numbers
    /// </summary>
    static class MessageSequenceNumberGenerator
    {
        /// <summary>
        /// Wraps the use of random with a custom seed and returns an integer less than int.MaxValue
        /// </summary>
        /// <returns></returns>
        internal static int GetSequenceNumber()
        {
            Random rand = new Random(2727);
            return rand.Next(int.MaxValue);
        }
    }
}
